package modle;

import java.util.HashSet;
import java.util.Set;

/**
 * GtRoom entity. @author MyEclipse Persistence Tools
 */

public class GtRoom implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer maxNum;
	private String name;
	private Short level;
	private Set gtPlayers = new HashSet(0);

	// Constructors

	/** default constructor */
	public GtRoom() {
	}

	/** full constructor */
	public GtRoom(Integer maxNum, String name, Short level, Set gtPlayers) {
		this.maxNum = maxNum;
		this.name = name;
		this.level = level;
		this.gtPlayers = gtPlayers;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getMaxNum() {
		return this.maxNum;
	}

	public void setMaxNum(Integer maxNum) {
		this.maxNum = maxNum;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Short getLevel() {
		return this.level;
	}

	public void setLevel(Short level) {
		this.level = level;
	}

	public Set getGtPlayers() {
		return this.gtPlayers;
	}

	public void setGtPlayers(Set gtPlayers) {
		this.gtPlayers = gtPlayers;
	}

}